package Ep08________Greedy.____G3_0376;

/**
 * @author Jimmy Zhan WORKSTATION
 * @date 2023/7/8 16:50
 * 说明：贪心，摆动序列，这题没写出来，后续在写
 */

public class Mine {
    public int wiggleMaxLength(int[] nums) {
        if (nums.length == 1) return 1;
        if (nums.length == 2 && nums[0] != nums[1]) return 2;
        return 0;
    }
}
